/**
 * This class is the entity that used to response the message from verifier to
 * component.
 */
export class ResponseMsgModel {
    private _result: boolean;
    private _msg: string;

    constructor(result?: boolean, msg?: string) {
        this._result = result;
        this._msg = msg;
    }

    get result() {
        return this._result;
    }

    set result(value: boolean) {
        this._result = value;
    }

    get msg(): string {
        return this._msg;
    }

    set msg(value: string) {
        this._msg = value;
    }
}